package cn.gson.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the ORDERCANCELDETAILS database table.
 * 
 */
@Entity
@Table(name="ORDERCANCELDETAILS")
@NamedQuery(name="Ordercanceldetail.findAll", query="SELECT o FROM Ordercanceldetail o")
public class Ordercanceldetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="ORDERCANCELDETAILS_OCEID_GENERATOR", sequenceName="SEQ_31")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="ORDERCANCELDETAILS_OCEID_GENERATOR")
	@Column(name="OCE_ID")
	private long oceId;

	@Column(name="OCD_MONEY")
	private BigDecimal ocdMoney;

	@Column(name="OCD_NUMBER")
	private BigDecimal ocdNumber;

	@Column(name="OCD_OC_ID")
	private BigDecimal ocdOcId;

	@Column(name="OCD_PRO_ID")
	private BigDecimal ocdProId;

	@Column(name="OCD_PRO_NAME")
	private String ocdProName;

	@Column(name="OCD_REASON")
	private String ocdReason;

	@Column(name="OCD_REMARKS")
	private String ocdRemarks;

	@Column(name="OCD_RU_NUMBER2")
	private BigDecimal ocdRuNumber2;

	//bi-directional many-to-one association to Ordercancel
	@ManyToOne
	@JoinColumn(name="OC_ID")
	private Ordercancel ordercancel;

	public Ordercanceldetail() {
	}

	public long getOceId() {
		return this.oceId;
	}

	public void setOceId(long oceId) {
		this.oceId = oceId;
	}

	public BigDecimal getOcdMoney() {
		return this.ocdMoney;
	}

	public void setOcdMoney(BigDecimal ocdMoney) {
		this.ocdMoney = ocdMoney;
	}

	public BigDecimal getOcdNumber() {
		return this.ocdNumber;
	}

	public void setOcdNumber(BigDecimal ocdNumber) {
		this.ocdNumber = ocdNumber;
	}

	public BigDecimal getOcdOcId() {
		return this.ocdOcId;
	}

	public void setOcdOcId(BigDecimal ocdOcId) {
		this.ocdOcId = ocdOcId;
	}

	public BigDecimal getOcdProId() {
		return this.ocdProId;
	}

	public void setOcdProId(BigDecimal ocdProId) {
		this.ocdProId = ocdProId;
	}

	public String getOcdProName() {
		return this.ocdProName;
	}

	public void setOcdProName(String ocdProName) {
		this.ocdProName = ocdProName;
	}

	public String getOcdReason() {
		return this.ocdReason;
	}

	public void setOcdReason(String ocdReason) {
		this.ocdReason = ocdReason;
	}

	public String getOcdRemarks() {
		return this.ocdRemarks;
	}

	public void setOcdRemarks(String ocdRemarks) {
		this.ocdRemarks = ocdRemarks;
	}

	public BigDecimal getOcdRuNumber2() {
		return this.ocdRuNumber2;
	}

	public void setOcdRuNumber2(BigDecimal ocdRuNumber2) {
		this.ocdRuNumber2 = ocdRuNumber2;
	}

	public Ordercancel getOrdercancel() {
		return this.ordercancel;
	}

	public void setOrdercancel(Ordercancel ordercancel) {
		this.ordercancel = ordercancel;
	}

}